from pathlib import Path
p = Path('F:\\python')
p1 = p / 'test'
p1.mkdir(parents=False, exist_ok=True)
